add first pending request function