passes the capsule to the hook