trying to be python compliant