added toString to MagicInteger