conditional coloring added