wip on filling in inversion stuff