moved echo listener so that there is only one