split up templates