add merge functionality and melt_them/merge_them flags