added inversion
Merge pull request #4 from whatismagnet/master

added inversion