add check conditions for input data