Started implemented the RBM.