Sample code.