updated examples for ch13