more checking of states