get_name method added