program now clears everything when it finishes running.