DRYer implementation