added different colors for different indices