@Sheena_Variasi That’s exactly how I write my larger routines. Combined with lots of comments, it makes them MUCH easier to read. I find a ‘wall of code’ practically unbearable.
You may need to change the location of those other includes to be close to the setup() routine. See this one: