adding necessary import for Python 2.5