Modified document to include "if" statement