~ move correlation function to exploring script