Rewrote references