made the stream generic for use in a course