added index and styles