Finally makes setReference worth