Added delegate example for passing information