added randomColor function