added random color function