Added ordinals to make work with python 2.6 and also made these lines
debug only