modified samples/stream