update example to 'done' syntax