left-right recognition