Got afc working.  add ui controls tomorrow