add state dumper