some more validation