Add curring func for  f2