testing length collapsing