adding speculative security features