check all input data