I see, I misunderstood your complaint then.
However, the base case being 1 does not preclude other types than integers, as cb321 pointed out.