need to fix xcope at high freqs -- improve control structures