added data collection to dropdown and spinner