Pass parameter by reference
Merge pull request #311 from midzer/master

Pass parameter by reference