more fiddling with example code