added templates layer 3