updated index, style