ticket:3 make code pep8 compatible