added index and style