Working Demo version of CBM