changing p5 example to a bit easier