It would be better to set the default of 1 here instead of as a default in the code.