Initial function wrapper setup