writing results after computing each measure