splitting-out templates