Updating setRand

chugging along with the misleading hope that something will work.