changed examples to reflect changes in core