Autovalidation now works