ready py3
ported to py3
ready to release 1.0