changes in loadData.php