I agree - a protected function would reduce code duplication