python3 almost works