improved documentation, bugfix for Python3