WAY too much time getting validation to work