implemented project-wide database in simulation