dotted regions, classes, auto main template