refactor find_objects