fixed some really horrible pep8 issues I introduced by copying + pasting using pycharm