* added liftRand and liftRandT functions