add check for state feasibility as well