New example, with use of random