New function created in req.c.