Update this example to real code.