fixed some magic numbers
Merge pull request #1 from samhopkins/master

fixed some magic numbers