DRY-er code