The routines that abstract translation of 26-character stand ids to 32-bit integers occurs here. When stand ids are read from .slf files, they might be larger than a 32-bit integer can hold. If the user specifies a file with an extension of .trans as a command-line parameter when the application is started, then that file contains a mapping from the 26-character stand ids to unique 32-bit integers. The translateStandId routine is responsible for taking a stand id as input and either returning the duplicate 32-bit integer that the stand id actually holds (in the case where no .trans file is specified), or it returns the 32-bit integer from the .trans file that corresponds to the stand id that was input. Thus the routines that utilize translateStandId have no idea whether translation is occurring or not. That's good.