work for multi stream