add long[] and double[]