add default title
Refactoring and PEP8