separate out default collapse fn