added styles and index