intro: loops and random