generalizing to all states
generalized for all the states