Put some recurring things into a loop to simply code.