add the wapStream class