added serial data collection