integrating all templates into index2.html
resolve conflicts