renamed to afort and dfort