changed IDE to PyCharm, formatting updates