added cabuf class