Sample code for the library