improvments in examples