writers share collapse fn.