Added comments and newlines for better readability.