update example to actually work