moved data loading private func into impl file only.