Switched to vargs for argument validation in main function