added example2 closures