Added default logic for variable arguments