Sample code and examples for future reference