harden deterministic stuff