fixes a typo
format code
re-factor code
update version number
bump version 1.7.0