use old style rand