change loadData to loadBaseUrl