fixed error in distro. 

 `result` was being referenced, but `localResult` was being defined.

this is on line 20.  my editor automatically cleared out whitespace on the rest of the file; sorry for that.