synchronized with original BlackBox 1.6, except Kernel