first echo implementation