but I thought there might be an easier and shorter way to accomplish this
Their is, it is to use an array for each variable and then run the code in a for loop, taking one iteration of the loop for each function. You can extend the whole thing to virtually any number of functions without making the code any longer.
This might get you started into using arrays:- http://www.thebox.myzen.co.uk/Tutorial/Arrays.html