This is from the second chapter of the Ruby book