Using vargs package instead of local checking of function args