If I'd have used it in a third case I would have written a helper function, but I didn't see the "overhead" is necessary. Can do so ofc - a private function inside this class like it's done for the parameters?