store next_moves