I know that there are probably PEP8 violations in this file already but it would be nice not to add any more :) Can you check the line lengths here please.