Sample code demo