chapter five  class extensions and color change