first version of script
write every result to file; write count to file; test data generator