Formatted the code for readability.