might as well make sample code more correct