Improved the readability of the code.