Sample Code.