updated for sending out to BD ML