streamURL and collection populate function