Rivet code