modified EdInput.cxx, still some debugging to do