add delegate to show the echo message