added magic-log