extract request function class