added methods for data collection