change lot_number creation method