Linkage correction and adding a nez assmbly function.