The gross and net carrying balances and accumulated amortization of intangibles are as follows (in thousands):
 
 
 
As of December 31, 2016
 
As of December 31, 2015
 
Weighted
average
useful life
 
Gross
carrying
amount
 
Accumulated
amortization
 
Net
carrying
amount
 
Gross
carrying
amount
 
Accumulated
amortization
 
Net
carrying
amount
Intangibles
 
 
 
 
 
 
 
 
 
 
 
 
 
Internally developed intangible for sale:
 
 
 
 
 
 
 
 
 
 
 
 
 
Capitalized software
5.0
 
$
20,034

 
$
(9,998
)
 
$
10,036

 
$
16,902

 
$
(6,796
)
 
$
10,106

Acquired intangibles:
 
 
 
 
 
 
 
 
 
 
 
 
 
Developed software
5.2
 
9,450

 
(8,575
)
 
875

 
9,450

 
(8,075
)
 
1,375

Customer relationships
16.2
 
277,710

 
(42,978
)
 
234,732

 
277,710

 
(25,769
)
 
251,941

Trademarks
8.6
 
14,900

 
(5,923
)
 
8,977

 
14,900

 
(4,490
)
 
10,410

Non-compete agreements
3.8
 
1,400

 
(1,400
)
 

 
1,400

 
(1,379
)
 
21

Customer contracts
4.7
 
6,449

 
(6,016
)
 
433

 
6,449

 
(5,581
)
 
868

Total other intangibles
 
 
$
329,943

 
$
(74,890
)
 
$
255,053

 
$
326,811

 
$
(52,090
)
 
$
274,721