templates with blocks