Carrying over sample code from the Cam CL website