beautified both the code and the result