added a class for controlling colors