changed colors to instance variables