finished writing PackOK and UnpackOK for this example