record_not_found_refactoring