refactor grue movement method