change echo to return so we can manipulate it