merge help function