started converting to dot templates