invert base