make this example work as well