mage fully implemented