exercise 1.2 - feel free to edit/improve!