updated example code
added __author__ and __version__