working on the db's