periodic checks passing pep8 and flake8. Code cleaned