added list_move and list_swap prototype