Implement search_by_main_reg_number method