Fixed typo and added a better "if" example.