might just be possible to autogen the inputs