minor changed
added dpo based wrapper