Improved armor coding