added internal templates