change inverse to reverse