optimization for index2.html