added example for isCallback