add random reference to tree