Added functions to facilitate the processing of the subrequests