magical string