verification of data input length