added checkLanes