updated wrtitring c prgs at mcgill to v4