convert strip_color2 to use strings and interators