working apit with results in result_apit.txt