changed index and styles