adding index and styles