removed support for python 2.6 because of ordereddict