since orientation cant be chagned, and this is protected anyway, just make it a member variable and not a function. could it be isVertical instead? nbd either way