implemented echo response