Slight reduction in code and repetitivity