serverUrl is optional