more pythonic