use injection to get data from the BDM