convert result to string