implement get_data
implement multi-BD