added magic import