Implement multiblock and masking