block inverse method works