Why not just assign to `result`?