changed index and styling