added convert and revert, added logging
typo fix
Merge pull request #76 from jacobwagner/add_convert

added convert and revert, added logging