Add the is valid nodes shown below