basics of AFC working