Thanks! So it is logical operation with pre-defined masks.