part way through  inputoutput