Fixing pass-by-reference exception
Merge pull request #3 from janhartigan/patch-1

Fixing pass-by-reference exception