switch to using ref = 0
Merge branch 'master' of github.com:MicahChambers/npl