please include function countDispatch. static O html_serveDispatches(S uri) { if (eq(uri, "/dispatches")) ret htmlencode(sfu(mapValues(func(countDispatch_Data d) -> Map { mapPlus(objectToMap(d), averageTime := ratio(d.totalTime, d.invocations)) }, cloneMap(countDispatch_map))); null; }