Function createSynchronousTemplate