Modified document to include comments on second "if" statement