updated echo_both