added visitor to keep track of correlation fit