we should identify the constant once, when we validate the parameter input (line 231) instead of in each spot where its used