Defined constructor