Rewrite get_list using default functions