code refactoring for standardization of coding style
Merge pull request #169 from irvs/issue149

code refactoring for standardization of coding style