if vin is empty, it is necessary to raise exception