issue #261 - now it remembers orientation for each pair