left and right scan