stream has methods take, flat