Train public constructor addded