Trying to understand code from the early 2000's.