let replace = Inthash.replace states