Tried setting local endpoint variable to self; still does not work.