finally have an input generator that will work