Making TPrincipal instance as a local variable on stack in GetAverages() function ... not used in anywhere else. --kazu