first changes towards python3