better doc
python3 compatibility