added example with tasks