Remove duplicate values and add remaining arrays

Change-Id: I0abdde5845566c2f89cc8cf33a9d3f82364f3af9