One quick way to remember is that the metal tab, and therefore the middle pin, is connected to the substrate. This used to have to be the most negative part of the die on these older designs. So the middle pin is GND in a 78XX and IN in a 79XX. Tony www.oakleysound.com