added parseMagic shit
changes