we have to be really careful here about these two staying in synch. Isnt there another way of doing this? Can two references be avoided somehow?