use ordereddict from https://pypi.python.org/pypi/ordereddict
PEP8