* stepDirection is not needed
* moved stepDirection to the method as a parameter
some more little adjustements due to refactoring