Let take a look at this sample code.