working db with objects