attempt to adjust consolidation function