forgotten checkState