infostreamrest function