Shouldn't this be `return result`?