changed color handling in mod2