change FunctionTimer to return endTime - startTime
add FunctionTimer runTime output method