refactoring camel case to underscores for pep8