add inverse into data