Doesn't look quite right - second line will overwrite the first.
Could just use `fields +=` in each case, perhaps?