Changed isValid