Perpendicularity control