Use varargs instead of arrays