Implement invert