trying streams instead