rename loadData to assign.