use fromOutput