updated styles and index layout