dynamically populates field names... need to make it so that it generates buttons for any number of groups
merging