shock algorithm — Deca