Stream selector

put this up top; with return and break out of the method.