add in baseUrl as an option