AFC swings to a profitable 4-Q