added super class for vstack, hstack