working with index styles