working on the database objects