adding afc response type convertion code