Simplistic RBM and DP