providing a variable number of arguments by a method apply()
merge function with variable arguments