Question about constructor function

Thanks for the reply!
Unfortunately, that code can be given a return type to avoid compile errors