changed coloring mechanism