[TASK] Split loadData into two methods