I'd probably rather this is just done explicitly rather than using a loop; will make it easier for others who aren't familiar with Ruby to understand what's going on here.