changed style and index