added varargs definition method