code style, PEP8
refactoring