added AFD output