Formatting complete code.