rename the add_to_list function