adds function/times