before getting rid of NAs in get_data