modified action_list.c