add function correlation