Working and hardened version