cleaning and getting data