version 1.0.1 for python 2.6 support