moved serverName to constructor