Added deletion feature for states