Use varargs instead of list