refactor coding style.