square invert 2