added fragments to streams example 1