Adding index and style