Reupload of BDM.java 29th oct