Added more functions for ifoc/color