The changes in the carrying amount of goodwill for the years ended December 31, 2016 and 2015 were as follows:
 
 
 
DDS
 
API
 
DP
 
Total
 
Balance as of December 31, 2014
 
$
-
 
$
16,899
 
$
44,879
 
$
61,778
 
Goodwill acquired
 
 
45,987
 
 
29,668
 
 
32,984
 
 
108,639
 
Foreign currency translation
 
 
-
 
 
(385)
 
 
(561)
 
 
(946)
 
Balance as of December 31, 2015
 
 
45,987
 
 
46,182
 
 
77,302
 
 
169,471
 
Goodwill acquired
 
 
6,251
 
 
61,113
 
 
-
 
 
67,364
 
Measurement period adjustment
 
 
107
 
 
1,211
 
 
-
 
 
1,318
 
Foreign currency translation
 
 
(300)
 
 
(3,950)
 
 
(2,647)
 
 
(6,897)
 
Balance as of December 31, 2016
 
$
52,045
 
$
104,556
 
$
74,655
 
$
231,256