Added getCurRequest function