Add nextDirection in execute