case B implemented, added init in case2