small improvements in examples