Added missing function call to load data