adding python3 support