a gradual approach to hardening the kernel