work on deleting objects from the database.