Towards all-numerical implementation of correlation