added nc merge fun