changed inverse to negative