removing getColorString function from Main class