added random color API