added size primitives and layout helpers