Fixed a bad call to result= in code sample.