global control variable added for correlation computing