combinging templates