aren't we resetting that reference just before? this is just at the beginning of teh function, not in a loop