Added data loading portion.