slightly cleaner

same code. little cleaner.  The only difference is reframing from a "is not 0", which as far as I know is discouraged for comparing values.
Merge pull request #173 from virgil/patch-2

slightly cleaner