program now closes