updated examples from latest source