Moving result to variable