more experimenting with a ref and jsref...