added setBaseUrl