example of InputYielder implementation