Reference field working