modified loadDataTheoPhong