removed text that supposed to be a comment
added better error message & output the number of runs