futher pep-8 work before refactoring into more maintainable code