Added function req.