early prototype of puiInput