Operating Segments | 5 . OPERATING SEGMENTS We manage and measure performance of our business in four distinct operating segments: Commercial & Industrial, Communications, Infrastructure Solutions and Residential . Transactions between segments, if any, are eliminated in consolidation. Our corporate office provides general and administrative, as well as support services, to our four operating segments. Management allocates certain shared costs between segments for selling, general and admi nistrative expe nses and depreciation expense. Segment information for the three and nine months ended June 30, 2018 , and 2017 is as follows: Three Months Ended June 30, 2018 Commercial & Infrastructure Industrial Communications Solutions Residential Corporate Total Revenues $ 78,156 $ 54,368 $ 24,856 $ 75,196 $ - $ 232,576 Cost of services 67,839 43,436 18,701 60,063 - 190,039 Gross profit 10,317 10,932 6,155 15,133 - 42,537 Selling, general and administrative 6,980 7,193 4,568 10,941 2,690 32,372 Contingent consideration - - 81 - - 81 Loss (gain) on sale of assets (6) - 1 - - (5) Operating income (loss) $ 3,343 $ 3,739 $ 1,505 $ 4,192 $ (2,690) $ 10,089 Other data: Depreciation and amortization expense $ 548 $ 595 $ 1,120 $ 156 $ 18 $ 2,437 Capital expenditures $ 715 $ 119 $ 112 $ 110 $ - $ 1,056 Total assets $ 86,012 $ 67,270 $ 102,233 $ 52,500 $ 87,948 $ 395,963 Three Months Ended June 30, 2017 Commercial & Infrastructure Industrial Communications Solutions Residential Corporate Total Revenues $ 58,778 $ 57,081 $ 22,302 $ 70,162 $ - $ 208,323 Cost of services 54,174 46,958 17,486 54,307 - 172,925 Gross profit 4,604 10,123 4,816 15,855 - 35,398 Selling, general and administrative 4,849 6,252 4,958 11,003 3,709 30,771 Contingent consideration - - (33) - - (33) Loss (gain) on sale of assets (4) - (88) 37 - (55) Operating income (loss) $ (241) $ 3,871 $ (21) $ 4,815 $ (3,709) $ 4,715 Other data: Depreciation and amortization expense $ 329 $ 187 $ 1,785 $ 135 $ 70 $ 2,506 Capital expenditures $ 283 $ 328 $ 124 $ 170 $ - $ 905 Total assets $ 66,190 $ 70,427 $ 103,323 $ 51,995 $ 125,222 $ 417,157 Nine Months Ended June 30, 2018 Commercial & Infrastructure Industrial Communications Solutions Residential Corporate Total Revenues $ 196,747 $ 159,071 $ 70,407 $ 210,328 $ - $ 636,553 Cost of services 175,066 129,667 54,543 167,836 - 527,112 Gross profit 21,681 29,404 15,864 42,492 - 109,441 Selling, general and administrative 19,624 19,478 13,762 30,995 8,249 92,108 Contingent consideration - - 152 - - 152 Loss (gain) on sale of assets (35) (9) 6 (1) - (39) Operating income (loss) $ 2,092 $ 9,935 $ 1,944 $ 11,498 $ (8,249) $ 17,220 Other data: Depreciation and amortization expense $ 1,632 $ 1,030 $ 3,503 $ 452 $ 89 $ 6,706 Capital expenditures $ 1,638 $ 592 $ 457 $ 696 $ - $ 3,383 Total assets $ 86,012 $ 67,270 $ 102,233 $ 52,500 $ 87,948 $ 395,963 Nine Months Ended June 30, 2017 Commercial & Infrastructure Industrial Communications Solutions Residential Corporate Total Revenues $ 168,006 $ 172,058 $ 59,572 $ 204,527 $ - $ 604,163 Cost of services 154,628 144,668 45,103 157,370 - 501,769 Gross profit 13,378 27,390 14,469 47,157 - 102,394 Selling, general and administrative 14,434 18,086 13,280 32,488 10,797 89,085 Contingent consideration - - 50 - - 50 Gain on sale of assets (11) (1) (90) 34 - (68) Operating income (loss) $ (1,045) $ 9,305 $ 1,229 $ 14,635 $ (10,797) $ 13,327 Other data: Depreciation and amortization expense $ 983 $ 532 $ 4,730 $ 436 $ 203 $ 6,884 Capital expenditures $ 927 $ 1,888 $ 261 $ 517 $ 203 $ 3,796 Total assets $ 66,190 $ 70,427 $ 103,323 $ 51,995 $ 125,222 $ 417,157 |