rejigging refs