assign server to variable