Added input validation and default values