first prototype of the data input component