implementing inverse