DRY a little