messageOut now returns a string object