merge now works as intended, merging groups and tables