Boss Machine project / checkMillionDollarIdea

Hi there!

I’m working on the project “Boss Machine” now. The instruction offers us to write a checkMillionDollarIdea middleware function. But writing this function seems to be senseless, because the logic of checking the total value occurs immediately in the interface side when inputting weekly value and number of weeks. What is the sense of checkMillionDollarIdea function then?