ldinverse in progress