Sample code of