implemented echo command