Simplify and beautify the code.