ticket:1 make code pep8 compatible