val to ref on return value