Structure for StreamAPI