updating to python standard