Added checkInputData method, layout changed