intermediate solution