bugang logics