this is duplicite. I think you can write it this way:
```
address_string << i[:addr1]
address_string << ";#{i[:addr2]}" if i[:addr2]
address_string << ":#{i[:nodeid]}" if i[:nodeid]
```