randcolor and randbrand minimized