ch14
ch14: getRandom with do notation