updated example with source