vertical horizontal classes