added orientation tracking and support for reversed pairs