improved coding style
Merge pull request #1 from bogdanpetcu/improvecodingstyle

improved coding style