tested version (via mag+comm emulation)