would it be possible to use array.forEach to get rid of some of the clutter like the repeated clouseService[i] references?