added UI for input data