add symlink-version of reduce function