convert a couple things to references