__invert__ added