Support both orientations