Reuploading BDM.java 21/10/2014