magic extension