HSR Codes