renamed color to flcolor