added a database to private variable