change the echo to return