creates and reads constant databases 