started multicolorfunction implementation