add object_fetch helper function