Runs through the whole program