Could this option and db acquiring be extracted form loadData?