modified index and style