add Function adaptation