Some basic stream opperations