made changes to style and index