put echos back in, for reading by java front end