coloring and selection of related costs