Updated the text and made the code a bit easier to read