documented stream example
references to context functions