adding color to optimize