add state class