preparing input data page