init and core pep8 compliance