first attempt in implementing per-core harakiri