Added available method to stream