- string refactor to format & locals
- removed pep8 warnings