Added Histogram functionality, also got the MBS