Make function return clean data set