moved getting_data