added parents to merge fxns for gui stuff