makes code more dry