create final object for data