cleanup and slight optimization
Fix typo in example
Merge pull request #9 from fent/master

cleanup and slight optimization
added bops