added index and style.