preparation for color-assigning