Sample code correction.