func for correlation