clear-shell as a hook