modified for color cams