validation of fields added