Sample code releated to my blog