Example code for class