transformation of random variables