with is not available in python<=2.6