a small amount of sample code