added a definition for the database