NOJIRA: reformatted all code with PyCharm, to meet PEP guidelines.