finishing generator for template 2