fixed Flood Color
patch
added functional programming: