more pythonic?  Maybe?