Microsoft example is too complicated to understand,will you please point out where I am wrong?