Example code for public consumption