adding style to index