Adding correlation algorithms