added crossDomain flag