added new cofhlib api