refactor parts add loadDataOutOfObjectArray function