Note that runs fine on Python 2.6 as well as 2.7