twiddle
invert-sel done... now all the difficulty is in inverting var