please don't use single char variables. it makes the code hard to follow. `validity` or `validityState` would be more appropriate