added AIC algorithm modeling