updated to using python3