new layout with class width control