a first working version of AMFORA