Basic user provided constructor working