running main with all of the data