Update to return the result string