Updated defensive programming lesson