received first message
added echo function