removing unused second argument of xchng()