used Yoda condition
Merge pull request #12 from cystbear/use-yoda-condition

prevent accidental assignment