renamed isFrontCloseToWall to frontWallStatus and added different status for the function