updated for better python3 compatibility, now version 0.9.5