library does not work with py3 yet