parallel template processing