Next, the building services cost and the three service department costs were allocated to the three production departments so that these three rates “carry” all the factory overhead for product-cost allocations. Allocations were based on the following data :