Hi Lucia,
This is a great observation! In fact, this is the proper way to do it. It is great that you notice such things (it means you are truly understanding modeling).
We don’t spend a lecture on that, but rather give it as an exercise for homework (exactly the next lecture: https://365datascience.teachable.com/courses/614390/lectures/11098957)
Best,
Iliya