AFR LOGIC