stream setup