I used it because invalid is not a real property of the object, it's just a helper property. But I'll remove it