basic validation seems to work