removed outdated code from examples/echo