$sf.ext.collapse example.