pythonic refactoring vars and method names.