more templates and scaling