check box value generation