Added BCE functionalities (no complete)