rewrite source logic, rewrite error logging, pep8