added example and basic callbacks for success