edited the index layout