add array with elements