moded colortracking function definitions.