use states and hashes as default