Get info from a stream of data with simple functions