changes in database structure and changes in loadData.php