added example with multiple delgates