little bit nicer code
astyle