Add inv support