baseurl
refactoring