Return result to client