Changes to moveNewDirection()