made variables in the followWallOneCell method for the accelerating
parts for convenience