trying to figure out how to pass arrays as args in varargs