implemented time-domain AFD