add index style to index