reformated programming style