now it quits when done!