Refractored comma string into separate method