style and index changes