add support for user_inputs

i needed this for a project so thought i would add it in quick.
fixes #2