add support for in-place or, and, gt