working on cross domain issues