tried to find the mistake, did not succeed, Sorry...for-loop in Check validity does not work