Account for horizontal case