chaning coloring if statements so that hopefully they'll work