Validation Component of NBD.php