html stream solution