changed printWallCounter()