Fixed the examples to reflect real implementation