Simpler stream implementation