added ch03 3rd code recipe