first attempt at adding stream.Transform