Change the req_input to be an pointer instead.