wfunction change

wfunction change