Changed get to ref