Stream selector

It was an unused function - removed it