refactored root_url