added templates into component