How to tidy this

“Reusables” is the approach most people take for this. Many threads about this - for example

and of course the manual …

Good luck!