making get_list more readable