updated index2 and style2