changed validate class nd roll no functions