initial support for python3