add array_pop to menu