template work, minification