passed a string to the client that was otherwise lost in closure