makes it work with sage
Merge pull request #3 from theref/mod

makes it work with sage