You can use 2 parameters in the random(); functions, so random(150, 220);;
random();
random(150, 220);