Formatted the entire code.