fixed things sortof
Merge pull request #4 from Korovyov/master

fixed things sort of.  mostly kind of.  whooo.
Added chance dependency.