finally-done the color programming