define proc for marking var as not in use
bug fixes
update merge example program and doc