formatted code with newest astyle beta version