initiating the database