add check_name to attr_reader