fetch objects from db