added basic stream embedding