slightly more pythonic idiom...