removed attr_reader for @stream