SMask emulation