Modified document to include my comments to the "if"statement