Thanks @alvinang for pointing out this error. Just one minor suggestion. Instead of changing every `puts` line, I suggest to simply change this line to

```ruby
if contact = response['properties']['registrant_contacts'].first
```