add code to verify the states