apf based on yaf