AAFR Algorithm