Renamed list function to get_list.