two types of random variables