[homework]inactive_record: rename a method