better organization of code