Added additional sample code and possible future functionality.