removed the runs variable out of the code and the gui