adding structure to the public part of the stream component (still empty)