first version of the input page