added end of stream event