adds TimeFunctionAdapter