logic consolidation