rename to `lastWall` and also add comment about this variable