import the framework of BSMA