new version of afm added